<?php
/**
 * <https://y.st./>
 * Copyright © 2018 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => '... so tired ...',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion post for the day:
	</p>
	<blockquote>
		<p>
			I&apos;m queer myself, so I certainly appreciate people speaking up about equal rights!
			I don&apos;t really follow celebrities, so while I had a vague idea of who Lady Gaga is, I didn&apos;t know she was one of our advocates or that she&apos;s one of us.
			Her speech also discusses censorship, which <strong>*always*</strong> amplifies problems, not just the problem of inequality.
			Censorship deprives people of either their right to information, their right to express themself, or often times, both.
			Equality for any group depends on the abolition of censorship.
		</p>
	</blockquote>
	<p>
		I learned today that the famous Lady Gaga is bisexual.
		And a queer advocate.
		Interesting.
		I only have a vague idea of who she is.
		I&apos;ve heard a couple of her songs before, but unless you&apos;re releasing your work under a culture-friendly license, you&apos;re not likely to end up on my $a[radar].
	</p>
</section>
<section id="luck">
	<h2>Lucky number day</h2>
	<p>
		I&apos;m running on four hours of sleep today, so by the time I got home, I was having trouble recalling the lucky ending digit this week at Bi-Mart.
		I think it was five, though.
		I&apos;m pretty sure that&apos;s what it was.
		Maybe.
	</p>
</section>
<section id="health">
	<h2>Health and wellness</h2>
	<p>
		My doctors&apos; office sent me an email a while ago telling me my blood test results were in, and that I could check them online.
		The clinic website&apos;s a pain though; it requires JavaScript just to log in.
		I&apos;d have JavaScript enabled already if not for my school&apos;s broken website, which only functions properly with JavaScript <strong>*disabled*</strong>, but for the time being, I usually keep JavaScript disabled in my browser.
		I was eventually going to check my test results, but I hadn&apos;t found the time to deal with the clinic website yet.
		Later, the clinic sent me another email telling me I could check my results, but again, I was too busy to deal with a website I couldn&apos;t just use without flipping settings back and forth to make function.
		Finally, a couple days ago, I received a printed copy of my test results via post.
		Either the results took <strong>*forever*</strong> to make it through the mail, which I guess is fine, or the clinic gave up on waiting for me to check the results.
		They likely log when test results are accessed.
		Of course, the test results came with no assessment from the doctor.
		Today&apos;s errand day, when I go out to that section of the city, so I brought the results with me and tried to set up an appointment to discuss them with my doctor.
		The receptionist offered to instead go grab one of the triage nurses to explain the results though, which would save me a trip later, as there&apos;d be no need to come back for the appointment.
		The nurse never did come out, but they told the receptionist the results were normal.
		I guess that means I&apos;m not currently at risk of diabetes, so that&apos;s great news.
	</p>
</section>
<section id="money">
	<h2>Money</h2>
	<p>
		Not wanting to end up late to work, I left home what would turn out to be an hour too early.
		The credit union wasn&apos;t open yet.
		That means I couldn&apos;t deposit my pay cheque today, and more importantly, I couldn&apos;t pick up my rent cheque.
		Next Tuesday comes a day after my rent is due, so I won&apos;t be able to wait until next errand day; I&apos;ll have to make a special trip.
		I could&apos;ve waited around an hour, I suppose, and it&apos;d&apos;ve probably saved me time in the long run over taking an extra trip.
		Time is short this week though; I&apos;d rather wait until next week.
		My boss switched up my work schedule, so I only have one day off during this school week.
		I just don&apos;t have the time I&apos;d normally have.
		I&apos;m told next week will be slow though, so I won&apos;t have as many hours.
		There&apos;ll be time then.
		I asked why we were going to be slow, but the boss wouldn&apos;t elaborate.
		They said it&apos;d just be a slow week, but there&apos;s obviously got to be a reason, and it&apos;s got to be a <strong>*known*</strong> reason if they&apos;re predicting it ahead of time.
	</p>
	<p>
		I&apos;m thankful that I don&apos;t have to deposit my cheque right away; that I&apos;m not <strong>*so*</strong> strapped for cash that I&apos;ve got to make sure to head to the credit union every pay day on the dot.
		Some of my coworkers aren&apos;t so fortunate.
		Then again, some of my coworkers have children.
		Also, some of my coworkers are fools and use cheque-cashing services with fees instead of opening up an account at a financial institution, such as a bank or credit union, and getting gratis cheque deposits.
		If you&apos;re so strapped for cash, why pay that extra fee?
		Opening up an account could save you that little bit, twice a month, and it&apos;d add up.
		I opened up my first bank account specifically to avoid such fees.
		Of course, they then started charging me other bogus fees when I used my debit card and I switched to my current credit union, but that&apos;s another issue.
		For basic cheque-depositing and cash withdrawals, it shouldn&apos;t be too hard to find an institution that&apos;ll save you money over cheque-cashing services.
	</p>
</section>
<section id="Minetest">
	<h2>Minetest</h2>
	<img src="/y.st./source/y.st./static/img/CC_BY-SA_3.0/minetest.net./weblog/2018/02/27.png" alt="A strange rock formation" class="framed-centred-image" width="800" height="600"/>
	<p>
		Needing to take breaks from coursework, I&apos;ve been slowly improving <code>minestats</code> over the past few days.
		One thing that was bothering me now that I&apos;ve been playing the game again is the fact that due to a bug in Minetest&apos;s falling node entities, gravel and sand don&apos;t always convert back into nodes after falling.
		The entities end up inside one another, so when one converts back into a node, the other has no space to do the same.
		In these cases, the entity instead converts into a dropped item entity.
		The drop-getting code gets run, causing the dropped entity, in the case of gravel, to be flint instead of the node that fell.
		As far as <code>minestats</code> is concerned, that was a flint point permanently lost to the void.
		But not any more.
		I&apos;ve repaired the <code>minestats</code> code so when drops are made, they&apos;re immediately attributed to a non-existent player whose name is an empty string.
		This catches all drops, without exception, including leaf decay, attached nodes when their supporting node is removed, and falling nodes when they&apos;re converted from their entity form to their dropped item form.
		If the drop-handling code is run, which only happens when a player dug the node, the drop is added to that player&apos;s stats and subtracted from the non-existent one&apos;s stats.
		In this way, the non-existent player&apos;s running total has become the number of lost mining points.
		This particular implementation is due to the fact that in no part of the Minetest code can I hook into a place in which the drops, the dug node, and the digging player are all known at once.
		Player digs have to be handled in a two-step process.
	</p>
	<p>
		I&apos;m pretty sure I lost some sapling points in the beginning of my world due to the terrible building terrain of the area I&apos;m working with.
		Whose idea was it to put a steep island mountain in the dead centre of the map!?
		Oh.
		Right.
		Maths did that.
		Anyway, it&apos;s been slowly eating at me more and more.
		It&apos;s likely the only time I&apos;ll let leaves decay, or at the very least, it&apos;s a very rare occasion in which I&apos;ll let that specific type of leaf decay.
		I&apos;d like it recorded.
		It doesn&apos;t really matter, honestly, but this world it just for me to have fun with and de-stress.
		If having everything perfect is what de-stresses me the most, that&apos;s what I should do.
		As such, I&apos;ve started over my world.
		I actually started over once on the same day I started the initial world, so this&apos;ll be the third iteration.
		It&apos;s getting to be a bit bothersome, levelling that same section of that same mountain island repeatedly.
		This&apos;ll hopefully be the last time though.
	</p>
	<p>
		I&apos;ve also decided to start including screenshots of that world in my journal entries, due to my lack of a camera for including images from my real-world life.
		As a bonus, the screenshots include my custom $a[HUD], recording my current mining progress.
		That&apos;ll force me to admit how much I&apos;ve been digging, which&apos;ll hopefully keep me from wasting too much time with the game.
		I&apos;ve gotten drawn into it lately more than I&apos;d like to have.
		The $a[HUD] will very likely change, but the current version&apos;s good enough for keeping me on task.
		White positive numbers represent points I&apos;ve earned, while red negative numbers represent points I&apos;ve lost to the &quot;server&quot;.
		Today&apos;s screenshot shows a strange overhang on my island.
		Using this same seed, the world should always spawn the same way in theory, but it doesn&apos;t.
		That overhang doesn&apos;t exist in most iterations of this world.
		The island exists on one side of it, and a small floating island in the sky exists on the other side.
		Only sometimes are they connected like this.
	</p>
	<p>
		Today&apos;s Minetest play included only getting that screenshot, then working my way to the dig site.
		Reaching the dig site without tools and without ripping up the area is no easy task, but I like to keep that area pristine.
		(The lack of tools is because I don&apos;t want to dig any of the surrounding trees, but once I&apos;m at the site, I need to do a clear cut at the centre of the island.
		I&apos;ll have plenty of wood for building tools then.)
		Once I have the hole dug there, I hope to cover it with a castle, then build a bridge over the forest and down to the ocean.
		At that point, it&apos;ll be easy to access the area without need to make the place ugly.
		Eventually, I&apos;d like to build a second castle somewhere in the world, though not dead centre.
		I&apos;ll keep that second castle as a personal one, and call it my castle of queerness.
		The central one will be more of a public area though, in case I ever make this world public.
		That central castle will be house the spawn point, a treasury for depositing unwanted items for other players to use, and a public furnace room.
	</p>
</section>
END
);
